﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Workflow.Activities;

namespace DeepTalkRenderService
{
    /// <summary>
    /// Argument class for things passed back via the events to the WF from
    /// outside.
    /// </summary>
    [Serializable]
	public class WFCBRenderArgs : ExternalDataEventArgs
	{
        public WFCBRenderArgs(Guid instanceID)
            : base(instanceID)
        {
        }
	}
    [ExternalDataExchange]
    public interface IWFCBRender
    {
        /// <summary>
        /// Fired a particular work-flow is allowed to move onto the next render.
        /// </summary>
        event EventHandler<WFCBRenderArgs> OKToRender;
    }
}
